/**
 * 组织架构路由规则
 */
// 公共布局
import Layout from '@/layout'

export default {
  path: '/departments',
  component: Layout,
  children: [
    {
      path: '', // 空或和父路由一样
      name: 'departments',
      component: () => import('@/views/departments'),
      meta: {
        title: '组织架构',
        icon: 'tree'
      }
    }
    // ... 灵活的继续添加员工相关的二级路由
  ]
}
